var arr = [1, 2, 3, 4];
var result = arr.reverse();
console.log(result);
